export default [
  {
    path: "/",
    redirect: "/home",
  },
  {
    name: "Login",
    path: "/login",
    component: () => import("@/pages/Login"),
    meta: { isHidden: true },
  },
  {
    name: "Register",
    path: "/register",
    component: () => import("@/pages/Register"),
    meta: { isHidden: true },
  },
  {
    name: "Home",
    path: "/home",
    component: () => import("@/pages/Home"),
  },
  {
    name: "RankList",
    path: "/rankList",
    component: () => import("@/pages/RankList"),
  },
  {
    name: "MusicVideo",
    path: "/musicVideo",
    component: () => import("@/pages/MusicVideo"),
    children: [
      {
        name: "VideoPlayer",
        path: "/videoPlayer",
        component: () => import("@/pages/MusicVideo/VideoPlayer"),
      },
    ],
  },
  {
    name: "SongSheet",
    path: "/songSheet",
    component: () => import("@/pages/SongSheet"),
  },
  {
    name: "PlayerKugou",
    path: "/PlayerKugou",
    component: () => import("@/pages/SongSheet/PlayerKugou"),
  },
  {
    name: "Singer",
    path: "/singer",
    component: () => import("@/pages/Singer"),
  },
  {
    name: "SingerIntroduce",
    path: "/singerIntroduce",
    component: () => import("@/pages/Singer/SingerIntroduce"),
  },
  {
    name: "Album",
    path: "/album",
    component: () => import("@/pages/Album"),
    meta: {
      name: "专辑页面",
    },
  },
  {
    name: "AlbumInfo",
    path: "/albumInfo/:albumId",
    component: () => import("@/pages/AlbumInfo"),
  },
  {
    name: "MusicPlayer",
    path: "/musicPlayer",
    component: () => import("@/components/MusicPlayer"),
  },
];
